#include <dirent.h>
#include<header.h>

typedef struct{
    int IS_LOGIN;
    char* USER_NAME;
    char* PASSWORD;
    char* HOME_PATH;
    char* NOW_PATH;
    char* IS_REGISTER;
}USER;

void start_comm(int net_fd,char* command);

int switch_dir(int net_fd,char** arg_list);

int view_dir(int net_fd,char** arg_list);

int upload_file(int net_fd,char** arg_list);

//void download_file(char** arg_list);

//void delete_file(char** arg_list);

//void check_path(char** arg_list);
//
int create_dir(int net_fd,char** arg_list);
